.index {
  min-height: 100vh;
  background: #000;
  color: #fff;
  padding-bottom: 50px;
}

.tab-container {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #000;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  
  .tab-scroll {
    display: flex;
    white-space: nowrap;
    overflow-x: auto;
    padding: 0 15px;
    
    &::-webkit-scrollbar {
      display: none;
    }
  }
  
  .tab-item {
    padding: 8px 16px;
    font-size: 28px;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    
    &.active {
      color: #fff;
      font-weight: bold;
      
      &:after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 20px;
        height: 3px;
        background: #1989fa;
        border-radius: 2px;
      }
    }
  }
}

.banner {
  position: relative;
  margin: 30px 15px;
  border-radius: 24px;
  overflow: hidden;
  height: 320px;
  
  .banner-image {
    width: 100%;
    height: 100%;
  }
  
  .banner-text {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    
    .title {
      font-size: 36px;
      font-weight: bold;
      margin-bottom: 8px;
    }
    
    .subtitle {
      font-size: 28px;
      color: rgba(255, 255, 255, 0.8);
    }
  }
}

.post-list {
  padding: 0 15px;
  
  .post-item {
    margin-bottom: 40px;
    
    .user-info {
      display: flex;
      align-items: center;
      margin-bottom: 20px;
      
      .username {
        margin: 0 20px;
        font-size: 28px;
      }
    }
    
    .post-image {
      width: 100%;
      height: 400px;
      border-radius: 16px;
    }
    
    .post-info {
      margin-top: 20px;
      
      .post-title {
        font-size: 32px;
        margin-bottom: 16px;
      }
      
      .post-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 24px;
        color: rgba(255, 255, 255, 0.6);
        
        .camera {
          background: rgba(255, 255, 255, 0.1);
          padding: 8px 16px;
          border-radius: 20px;
        }
        
        .interaction {
          display: flex;
          align-items: center;
          gap: 16px;
          
          .van-icon {
            font-size: 32px;
          }
          
          text {
            margin-left: 4px;
          }
        }
      }
    }
  }
}

:global {
  .van-search {
    padding: 20px !important;
    
    &__content {
      background: rgba(255, 255, 255, 0.1) !important;
    }
  }
  
  .van-button--danger {
    background: linear-gradient(45deg, #ff4d4f, #ff7875) !important;
  }
}